import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

// 城市商业银行汇票申请退回录入
export function cityCommercialBankdraftReturnApplyEntrySave(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/returnApply/cityCommercialBankdraftReturnApplyEntry/save`,
    method: 'post',
    data:data
  })
}


//城市商业银行汇票申请退回审核
export const apiUrlConfigApproveQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/returnApply/cityCommercialBankdraftReturnApplyApprove/search`,
}

// 城市商业银行汇票申请退回审核通过
export function cityCommercialBankdraftReturnApplyApproveApprove(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/returnApply/cityCommercialBankdraftReturnApplyApprove/approve`,
    method: 'post',
    data:data
  })
}

// 城市商业银行汇票申请退回审核通过
export function cityCommercialBankdraftReturnApplyApproveReject(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/returnApply/cityCommercialBankdraftReturnApplyApprove/reject`,
    method: 'post',
    data:data
  })
}

//城市商业银行汇票申请退回查询
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/cityCommerBankdraft/returnApply/cityCommercialBankdraftReturnApplyQuery/search`,
}
